﻿package org.xhs.report.common.ui.toolbar
{
    import flash.events.*;

    public class ToolbarEvent extends Event
    {
        public static const SCREEN_FULL:String = "SCREEN_FULL";
        public static const SCREEN_NORMAL:String = "SCREEN_NORMAL";
        public static const PAGETH_CHANGED:String = "PAGETH_CHANGED";
        public static const SEARCH_START:String = "SEARCH_START";
        public static const SEARCH_AUTO:String = "SEARCH_AUTO";
        public static const SEARCH_CLOSE:String = "SEARCH_CLOSE";
        public static const SEARCH_PREV:String = "SEARCH_PREV";
        public static const SEARCH_NEXT:String = "SEARCH_NEXT";
        public static const MODE_SINGLE:String = "MODE_SINGLE";
        public static const MODE_DOUBLE:String = "MODE_DOUBLE";
        public static const TXT_FORMAT:String = "TXT_FORMAT";
        public static const TXT_PREV_PAGE:String = "TXT_PREV_PAGE";
        public static const TXT_NEXT_PAGE:String = "TXT_NEXT_PAGE";
        public static const TXT_BG_COLOR:String = "TXT_BG_COLOR";

        public function ToolbarEvent(param1:String, param2:Boolean = false, param3:Boolean = false)
        {
            super(param1, param2, param3);
            return;
        }// end function

        override public function toString() : String
        {
            return formatToString("ToolbarEvent", "type", "bubbles", "cancelable");
        }// end function

        override public function clone() : Event
        {
            return new ToolbarEvent(type, bubbles, cancelable);
        }// end function

    }
}
